package com.example.chatgptapplication.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.chatgptapplication.entity.Admin;


public interface AdminService extends IService<Admin> {


    Admin adminLogin(String username, String password);


    Admin createAdmin(Admin admin);


    Page<Admin> getAdminPageData(Admin adminDTO);



    Admin getOne(String username);



    void updateAdmin(Admin admin);


    void deleteAdmin(Admin admin);



}
